package fr.insalyon.sims.broadcast.network;

/**
 * Interface for managing stream transmission.
 * 
 * @author GONZALEZ Silvia, GOTTERO Jeremie, SATTAYAKAWEE Nutchanat
 *
 */
public interface IStreamTransmitter extends IStream {
	// ------------------------------------------------------- CONSTANTS -- //
	// --------------------------------------------------------- METHODS -- //
	
	/**
	 * Sends the data to the registered socket
	 * @param data data to be sent
	 * @param offset starting index of data to be sent 
	 * @param length length of sent data
	 */
	public void send(byte[] data, int offset, int length);
}
